07. Promises with .map
Promises with .map
2.7 Promises with .map Quiz
Instructions
First, if you haven't already, read this and follow the instructions on working with the Exoplanet Explorer repo.
- Checkout the
map-startbranch and navigate toapp/scripts/app.js. - Use
.mapto fetch all the planets in parallel.- Call
.mapon an array and pass it a function. .mapwill execute the function against each element in the array immediately.
- Call
Checkout the map-solution branch to see my code!
Solution
2.7 Promises with .map Solution